package com.sfac.springCloudGateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 网关
 * http://127.0.0.1:8763/api/account/userVo/1/1890
 * http://127.0.0.1:8888/api/account/userVo/1/1890
 *
 * http://127.0.0.1:8762/api/test/city/1890
 * http://127.0.0.1:8888/api/test/city/1890
 *
 * 把网关的应用放到公网上
 * 外部只能通过公网IP访问，无法通过内网IP访问
 */
@SpringBootApplication
@EnableEurekaClient
public class SpringCloudGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringCloudGatewayApplication.class, args);
    }

}
